<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>  
    <link rel="stylesheet" href="/admin/css/pintuer.css">
    <link rel="stylesheet" href="/admin/css/admin.css">
    <link rel="shortcut icon" type="image/x-icon" href="/admin/images/favicon.ico" />
    <script src="/admin/js/jquery.js"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="/admin/images/favicon.ico" class="radius-circle rotate-hover" height="50" alt="" />后台管理中心</h1>
  </div>
  <div class="head-l">
  <a class="button button-little bg-green" href="{{url('/')}}" target="_blank"><span class="icon-home"></span> 前台首页</a> &nbsp;&nbsp;<a href="{{url('admin_art/add')}}" class="button button-little bg-blue"><span class="icon-wrench"></span> 修改密码</a> &nbsp;&nbsp;<a class="button button-little bg-red" href="㏇"><span class="icon-power-off"></span> 退出登录</a>
  </div>
   <div class="head-l" style='float:right;padding-right:150px;padding-top:5px;font-size:17px;color:#ddd;font-family:微软雅黑;'>
   <if condition="$admin neq null">
    管理员&nbsp;:&nbsp;
    <else/>
    &nbsp;
    </if>
  </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
  <if condition="$admin['role_id'] eq 0">
  <h2><span class="icon-pencil-square-o"></span>文章管理</h2>
  <ul>
    <li><a href="{{url('admin_art/list')}}" target="right"><span class="icon-caret-right"></span>文章列表</a></li>
    <li><a href="{{url('admin_art/add')}}" target="right"><span class="icon-caret-right"></span>添加文章</a></li>       
  </ul> 

   <h2><span class="icon-pencil-square-o"></span>栏目管理</h2>
    <ul>
        <li><a href="{{url('admin_cat/list')}}" target="right"><span class="icon-caret-right"></span>栏目列表</a></li>
        <li><a href="{{url('admin_cat/add')}}" target="right"><span class="icon-caret-right"></span>添加栏目</a></li>
    </ul>
    <h2><span class="icon-pencil-square-o"></span>会员管理</h2>
    <ul>
        <li><a href="{{url('admin_user/list')}}" target="right"><span class="icon-caret-right"></span>会员列表</a></li>
        <li><a href="{{url('admin_user/add')}}" target="right"><span class="icon-caret-right"></span>添加会员</a></li>
    </ul>

        <h2><span class="icon-pencil-square-o"></span>管理员列表</h2>
    <ul>
        <li><a href="/admin/User/userlist.html" target="right"><span class="icon-caret-right"></span>查看管理员</a></li>
        <li><a href="/admin/User/useradd.html" target="right"><span class="icon-caret-right"></span>添加管理员</a></li>
    </ul>
   
 
  </if>
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="{{url('admin_art/add')}}" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
  <li><b>当前语言：</b><span style="color:red;">中文</php></span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li>
</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="{{url('admin_art/list')}}" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
<p>来源:<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>
</div>
</body>
</html>